package com.java2007.zhangyu.restaurant.utils;

import java.util.UUID;

/**
 * @author y
 * @version
 * @date 2021-01-27
 */
public class UUIDUtil {

    public static String getFileName(String suffixName){
        //返回一个随机的字符串
        return UUID.randomUUID().toString().replaceAll("-","") + suffixName;
    }

}
